继承自 FoxitPDFSDKPython3._object .
|
|
def | TableData () |
| | 构造函数。
|
| |
| def | TableData (rect, row_count, col_count, outside_border_left, outside_border_right, outside_border_top, outside_border_bottom, inside_border_row, inside_border_col, merge_cells, row_height_array, col_width_array) |
| | 构造函数,带参数。 更多...
|
| |
| def | TableData (data) |
| | 拷贝构造函数。 更多...
|
| |
| def | Set (rect, row_count, col_count, outside_border_left, outside_border_right, outside_border_top, outside_border_bottom, inside_border_row, inside_border_col, merge_cells, row_height_array, col_width_array) |
| | 设置值。 更多...
|
| |
◆ TableData() [1/2]
| def FoxitPDFSDKPython3.TableData.TableData |
( |
|
rect, |
|
|
|
row_count, |
|
|
|
col_count, |
|
|
|
outside_border_left, |
|
|
|
outside_border_right, |
|
|
|
outside_border_top, |
|
|
|
outside_border_bottom, |
|
|
|
inside_border_row, |
|
|
|
inside_border_col, |
|
|
|
merge_cells, |
|
|
|
row_height_array, |
|
|
|
col_width_array |
|
) |
| |
构造函数,带参数。
- 参数
-
| [in] | rect | 表格的矩形,指定在 PDF 页面中的位置。 |
| [in] | row_count | 表格中的行数。 |
| [in] | col_count | 表格中的列数。 |
| [in] | outside_border_left | 左外边框信息。 |
| [in] | outside_border_right | 右外边框信息。 |
| [in] | outside_border_top | 上外边框信息。 |
| [in] | outside_border_bottom | 下外边框信息。 |
| [in] | inside_border_row | 行内边框信息。 |
| [in] | inside_border_col | 列内边框信息。 |
| [in] | merge_cells | 合并单元格。 |
| [in] | row_height_array | 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。 |
| [in] | col_width_array | 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。 |
◆ TableData() [2/2]
| def FoxitPDFSDKPython3.TableData.TableData |
( |
|
data | ) |
|
拷贝构造函数。
- 参数
-
| [in] | data | 另一个表格数据对象,其值将被赋给当前对象。 |
◆ Set()
| def FoxitPDFSDKPython3.TableData.Set |
( |
|
rect, |
|
|
|
row_count, |
|
|
|
col_count, |
|
|
|
outside_border_left, |
|
|
|
outside_border_right, |
|
|
|
outside_border_top, |
|
|
|
outside_border_bottom, |
|
|
|
inside_border_row, |
|
|
|
inside_border_col, |
|
|
|
merge_cells, |
|
|
|
row_height_array, |
|
|
|
col_width_array |
|
) |
| |
设置值。
- 参数
-
| [in] | rect | 表格的矩形,指定在 PDF 页面中的位置。 |
| [in] | row_count | 表格中的行数。 |
| [in] | col_count | 表格中的列数。 |
| [in] | outside_border_left | 左外边框信息。 |
| [in] | outside_border_right | 右外边框信息。 |
| [in] | outside_border_top | 上外边框信息。 |
| [in] | outside_border_bottom | 下外边框信息。 |
| [in] | inside_border_row | 行内边框信息。 |
| [in] | inside_border_col | 列内边框信息。 |
| [in] | merge_cells | 合并单元格。 |
| [in] | row_height_array | 行高数组。如果数组成员为零,行高将自动设置为默认值。默认值:(rect 的高度)/row_count。 |
| [in] | col_width_array | 列宽数组。如果数组成员为零,列宽将自动设置为默认值。默认值:(rect 的宽度)/col_count。 |
- 返回
- 无。
◆ merge_cells
| FoxitPDFSDKPython3.TableData.merge_cells = _fsdk.TableData_merge_cells |
|
static |
合并单元格。此数组的长度必须是偶数,零长度表示没有合并单元格。
- 注解
- 在合并单元格索引数组中,每两个连续成员组成一组单元格。 第一个成员表示合并单元格的起始单元格,第二个成员表示合并单元格的结束单元格。 对于表格单元格索引,有效范围:从 0 到 (row_count - 1) 或 (col_count - 1)。